package com.weiweiqin.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.weiweiqin.dao.GoodsCategoryItemDao;
import com.weiweiqin.model.GoodsCategoryItem;
import com.weiweiqin.service.GoodsCategoryItemService;

@Service
public class GoodsCategoryServiceImpl implements GoodsCategoryItemService {

	@Autowired
	private GoodsCategoryItemDao goodsCategoryItemDao;

	public void save(GoodsCategoryItem goodsCategoryItem) {
		goodsCategoryItemDao.insert(goodsCategoryItem);

	}

	public void del(int id) {

		goodsCategoryItemDao.delete(id);
	}

}